package com.pinda.auth.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * <p>
 * 登录日志
 * </p>
 *
 * @author 黄杰
 * @since 2023-06-15
 * @since 2023-06-14
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("pd_common_login_log")
@AllArgsConstructor
@NoArgsConstructor
public class PdCommonLoginLog implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 操作IP
     */
    private String requestIp;

    /**
     * 登录人ID
     */
    private Long userId;

    /**
     * 登录人姓名
     */
    private String userName;

    /**
     * 登录人账号
     */
    private String account;

    /**
     * 登录描述
     */
    private String description;

    /**
     * 登录时间
     */
    private String loginDate;

    /**
     * 浏览器请求头
     */
    private String ua;

    /**
     * 浏览器名称
     */
    private String browser;

    /**
     * 浏览器版本
     */
    private String browserVersion;

    /**
     * 操作系统
     */
    private String operatingSystem;

    /**
     * 登录地点
     */
    private String location;

    private String createTime;

    private Long createUser;


}
